#!/usr/bin/env python3
# -*- coding=utf-8 -*-
# 题目：编写input()和output()函数输入，输出5个学生的数据记录。

class STUDENT:
    def __init__(self, name, number, score):
        self.name = name
        self.number = number
        self.score = score


def f1():
    student = []
    for i in range(3):
        name = ''
        number = ''
        score = []

        name = input("请输入姓名")
        number = input("请输入学号：")
        score.append(int(input("请输入语文成绩：")))
        score.append(int(input("请输入数学成绩：")))
        score.append(int(input("请输入英语成绩：")))

        student.append(STUDENT(name, number, score))

    for i in student:
        print(f"""学生姓名：{i.name}
学生学号：{i.number}
语文成绩：{i.score[0]}
数学成绩：{i.score[1]}
英语成绩：{i.score[2]}""")


f = f1
if __name__ == "__main__":
    f()
